/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-17     admin       the first version
 */
#ifndef APPLICATIONS_SY_WRITE_THREAD_H_
#define APPLICATIONS_SY_WRITE_THREAD_H_

typedef struct _write_data
{
    rt_device_t dev;
    unsigned char data[64];
    unsigned int size;

}write_data_t;

int write_thread_init();
int write_push(rt_device_t dev,void *data,unsigned int size);

#endif /* APPLICATIONS_SY_WRITE_THREAD_H_ */
